<?php if(!defined('HDPHP_PATH'))exit;C('SHOW_NOTICE',FALSE);?>
 <table class="tablelist">
    	<thead>
    	<tr>
        <th>订单ID</th>
        <th>订单号</th>
        <th>收货人</th>
        <th>收货地址</th>
        <th>提交时间</th>
        <th>订单状态</th>
        <th>操作</th>
        </tr>
        </thead>
        <tbody>
        <?php foreach ($orderlists as $key=>$val){?>
        <tr>
        <td><?php echo $val['oid'];?></td>
        <td><a href="<?php echo U('OrderList/details',array('oid'=>$val['oid']));?>"><?php echo $val['order_sn'];?></a></td>
        <td><?php echo $val['take_man'];?></td>
        <td><?php echo $val['take_addr'];?></td>
        <td><?php echo date('Y-m-d H:i:s',$val['order_time']);?></td>
        <td><?php echo $val['order_status'];?></td>
        <td><a href="<?php echo U('OrderList/details',array('oid'=>$val['oid']));?>" class="hd-btn hd-btn-primary hd-btn-sm" style="display: inline;">明细</a></td>
        </tr>
        <?php }?>
        
         
        </tbody>
    </table>